A. Classes and Interfaces
B. Classes
C. Editing tools
D. Editing tools and Interfaces
Advertisement
Related Mcqs:
- Which is the predefined package ?
- A. Lang package B. util package C. io package D. All of above...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- In java, gc() method is available in which package ?
- A. java.io package B. java.lang package C. java.awt package D. java.util package...
- Package of drawstring() method is _________________?
- A. java.awt B. javax.swing C. java.applet D. java.io...
- Which collection class associates values witch keys, and orders the keys according to their natural order ?
- A. java.util.LinkedList B. java.util.TreeMap C. java.util.SortedSet D. java.util.HashSet...
- Which among following classes is not part of Java’s collection framework ?
- A. Stack B. Maps C. Queue D. Array...
- All collection classes are available in _________________?
- A. java.util package B. java.io package C. java.lang package D. java.awt package...
- String is the predefined ?
- A. Object B. Variable C. Class D. Method...
- Which type of inheritance is not supported by java_____________?
- A. Single B. Mulilevel C. Hirarchical D. Multiple...
- What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?
- A. 0 B. 1 C. 2 D. 3...
Advertisement